package com.itheima.dao;


import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;


import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);

    public long setSetmealAndCheckGroup(Map map);

    public List<Setmeal> findAll();

    public Setmeal findById(int id);
    List<Map<String,Object>> findSetmealReport();
    Page<Setmeal> findPage();

    long findCountBySetmealId(Integer id);

    void deleteAssociation(Integer id);

    void deleteById(Integer id);
}
